*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
}
html{
    width: 100%;
    height: 100%;
    font-size: 16px;
}
body{
    width: 100%;
    height: 100%;
    -moz-user-select: none; /*火狐*/ /*禁止用户在页面选择文字*/
    -webkit-user-select: none; /*webkit浏览器*/
    -ms-user-select: none; /*IE10*/
    -khtml-user-select: none; /*早期浏览器*/
    user-select: none;
}
.code{
    width:400px;
    
}
.input-val{
    float: left;
    width: 30%;
    background: #ffffff;
    height: 2.8rem;
    /* padding: 0 2%; */
    border-radius: 5px;
    border: none;
    border: 1px solid rgba(0,0,0,.2);
    font-size: 1.0625rem;
}
#canvas{
    position: absolute;
    top:0px;
    left:248px;
    width:25%;
    display: inline-block;
    border:1px solid #ccc;
    border-radius: 5px;
    /* cursor: pointer; */
    /* margin-left:10px; */
}
.btn{
    float:right;
    width: 20%;
    height: 40px;
    background: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 20% auto 0;
    display: block;
    font-size: 1.2rem;
    color: #e22e1c;
    cursor: pointer;
    margin-top:0px;
}